<script>
	export default {
		// onLaunch: function() {
		// 	console.log('App Launch')
		// },
		// onShow: function() {
		// 	console.log('App Show')
		// },
		// onHide: function() {
		// 	console.log('App Hide')
		// }
	}
</script>

<style>
/*每个页面公共css */
.page {
	font-size: 1vmin;
	--header-line-height: 15vmin;
	--bottom-line-height: 15vmin;
	--tabbar-img-size: 7vmin;
}

.page {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
	-webkit-user-select: none;
    user-select: none;
}

.header-line {
    width: 100vw;
    height: var(--header-line-height);
	padding-top: 10vmin;
    text-align: center;
    font-size: 4.5vmin;
    line-height: var(--header-line-height);
    font-weight: 900;
    box-shadow: 0 0 2vmin 0 rgba(0, 0, 0, 0.1);
    background-color: #fff;
	position: relative;
}

.return-btn {
	width: var(--header-line-height);
	height: var(--header-line-height);
	position: absolute;
	left: 0;
	bottom: 0;
}

.return-btn::after {
	content: "";
	width: 2vmin;
	height: 2vmin;
	border-top: 1vmin solid #000;
	border-left: 1vmin solid #000;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(-45deg);
}

.main-content {
    box-sizing: border-box;
    width: 100vw;
    padding: 0 5vmin;
    flex: 1;
    overflow: auto;
}

.search-line {
	width: 100%;
	height: 12vmin;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-around;
	margin-top: 3vmin;
}

.scan-box {
	width: 8vmin;
	height: 8vmin;
	background-image: url(/static/img/saoyisao.png);
	background-size: contain;
	margin-right: 2vmin;
}

.search-box {
	flex: 1;
	height: 9vmin;
	border-radius: 3vmin;
	border: 0.5vmin solid rgb(112, 112, 112);
}

.search-btn {
	width: 16vmin;
	height: 10vmin;
	background-color: rgb(76, 109, 233);
	margin-left: 2vmin;
	border-radius: 3vmin;
	text-align: center;
	line-height: 10vmin;
	font-size: 4vmin;
	color: #fff;
}
</style>
